Optimal. Leaf size=130 \[ \frac{2 (d+e x)^{3/2} \left (-2 c e (3 b d-a e)+b^2 e^2+6 c^2 d^2\right )}{3 e^4}-\frac{2 \sqrt{d+e x} (2 c d-b e) \left (a e^2-b d e+c d^2\right )}{e^4}-\frac{6 c (d+e x)^{5/2} (2 c d-b e)}{5 e^4}+\frac{4 c^2 (d+e x)^{7/2}}{7 e^4} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.167307, antiderivative size = 130, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.038 \[ \frac{2 (d+e x)^{3/2} \left (-2 c e (3 b d-a e)+b^2 e^2+6 c^2 d^2\right )}{3 e^4}-\frac{2 \sqrt{d+e x} (2 c d-b e) \left (a e^2-b d e+c d^2\right )}{e^4}-\frac{6 c (d+e x)^{5/2} (2 c d-b e)}{5 e^4}+\frac{4 c^2 (d+e x)^{7/2}}{7 e^4} \]
Antiderivative was successfully verified.
[In] Int[((b + 2*c*x)*(a + b*x + c*x^2))/Sqrt[d + e*x],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 33.1047, size = 128, normalized size = 0.98 \[ \frac{4 c^{2} \left (d + e x\right )^{\frac{7}{2}}}{7 e^{4}} + \frac{6 c \left (d + e x\right )^{\frac{5}{2}} \left (b e - 2 c d\right )}{5 e^{4}} + \frac{2 \left (d + e x\right )^{\frac{3}{2}} \left (2 a c e^{2} + b^{2} e^{2} - 6 b c d e + 6 c^{2} d^{2}\right )}{3 e^{4}} + \frac{2 \sqrt{d + e x} \left (b e - 2 c d\right ) \left (a e^{2} - b d e + c d^{2}\right )}{e^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((2*c*x+b)*(c*x**2+b*x+a)/(e*x+d)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.102888, size = 109, normalized size = 0.84 \[ \frac{2 \sqrt{d+e x} \left (7 c e \left (10 a e (e x-2 d)+3 b \left (8 d^2-4 d e x+3 e^2 x^2\right )\right )+35 b e^2 (3 a e-2 b d+b e x)-6 c^2 \left (16 d^3-8 d^2 e x+6 d e^2 x^2-5 e^3 x^3\right )\right )}{105 e^4} \]
Antiderivative was successfully verified.
[In] Integrate[((b + 2*c*x)*(a + b*x + c*x^2))/Sqrt[d + e*x],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.009, size = 123, normalized size = 1. \[{\frac{60\,{c}^{2}{x}^{3}{e}^{3}+126\,bc{e}^{3}{x}^{2}-72\,{c}^{2}d{e}^{2}{x}^{2}+140\,ac{e}^{3}x+70\,{b}^{2}{e}^{3}x-168\,bcd{e}^{2}x+96\,x{c}^{2}{d}^{2}e+210\,ab{e}^{3}-280\,ad{e}^{2}c-140\,{b}^{2}d{e}^{2}+336\,bc{d}^{2}e-192\,{c}^{2}{d}^{3}}{105\,{e}^{4}}\sqrt{ex+d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((2*c*x+b)*(c*x^2+b*x+a)/(e*x+d)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.713339, size = 163, normalized size = 1.25 \[ \frac{2 \,{\left (30 \,{\left (e x + d\right )}^{\frac{7}{2}} c^{2} - 63 \,{\left (2 \, c^{2} d - b c e\right )}{\left (e x + d\right )}^{\frac{5}{2}} + 35 \,{\left (6 \, c^{2} d^{2} - 6 \, b c d e +{\left (b^{2} + 2 \, a c\right )} e^{2}\right )}{\left (e x + d\right )}^{\frac{3}{2}} - 105 \,{\left (2 \, c^{2} d^{3} - 3 \, b c d^{2} e - a b e^{3} +{\left (b^{2} + 2 \, a c\right )} d e^{2}\right )} \sqrt{e x + d}\right )}}{105 \, e^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*(2*c*x + b)/sqrt(e*x + d),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.27436, size = 157, normalized size = 1.21 \[ \frac{2 \,{\left (30 \, c^{2} e^{3} x^{3} - 96 \, c^{2} d^{3} + 168 \, b c d^{2} e + 105 \, a b e^{3} - 70 \,{\left (b^{2} + 2 \, a c\right )} d e^{2} - 9 \,{\left (4 \, c^{2} d e^{2} - 7 \, b c e^{3}\right )} x^{2} +{\left (48 \, c^{2} d^{2} e - 84 \, b c d e^{2} + 35 \,{\left (b^{2} + 2 \, a c\right )} e^{3}\right )} x\right )} \sqrt{e x + d}}{105 \, e^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*(2*c*x + b)/sqrt(e*x + d),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 26.1685, size = 427, normalized size = 3.28 \[ \begin{cases} - \frac{\frac{2 a b d}{\sqrt{d + e x}} + 2 a b \left (- \frac{d}{\sqrt{d + e x}} - \sqrt{d + e x}\right ) + \frac{4 a c d \left (- \frac{d}{\sqrt{d + e x}} - \sqrt{d + e x}\right )}{e} + \frac{4 a c \left (\frac{d^{2}}{\sqrt{d + e x}} + 2 d \sqrt{d + e x} - \frac{\left (d + e x\right )^{\frac{3}{2}}}{3}\right )}{e} + \frac{2 b^{2} d \left (- \frac{d}{\sqrt{d + e x}} - \sqrt{d + e x}\right )}{e} + \frac{2 b^{2} \left (\frac{d^{2}}{\sqrt{d + e x}} + 2 d \sqrt{d + e x} - \frac{\left (d + e x\right )^{\frac{3}{2}}}{3}\right )}{e} + \frac{6 b c d \left (\frac{d^{2}}{\sqrt{d + e x}} + 2 d \sqrt{d + e x} - \frac{\left (d + e x\right )^{\frac{3}{2}}}{3}\right )}{e^{2}} + \frac{6 b c \left (- \frac{d^{3}}{\sqrt{d + e x}} - 3 d^{2} \sqrt{d + e x} + d \left (d + e x\right )^{\frac{3}{2}} - \frac{\left (d + e x\right )^{\frac{5}{2}}}{5}\right )}{e^{2}} + \frac{4 c^{2} d \left (- \frac{d^{3}}{\sqrt{d + e x}} - 3 d^{2} \sqrt{d + e x} + d \left (d + e x\right )^{\frac{3}{2}} - \frac{\left (d + e x\right )^{\frac{5}{2}}}{5}\right )}{e^{3}} + \frac{4 c^{2} \left (\frac{d^{4}}{\sqrt{d + e x}} + 4 d^{3} \sqrt{d + e x} - 2 d^{2} \left (d + e x\right )^{\frac{3}{2}} + \frac{4 d \left (d + e x\right )^{\frac{5}{2}}}{5} - \frac{\left (d + e x\right )^{\frac{7}{2}}}{7}\right )}{e^{3}}}{e} & \text{for}\: e \neq 0 \\\frac{\left (a + b x + c x^{2}\right )^{2}}{2 \sqrt{d}} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*c*x+b)*(c*x**2+b*x+a)/(e*x+d)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.272439, size = 243, normalized size = 1.87 \[ \frac{2}{105} \,{\left (35 \,{\left ({\left (x e + d\right )}^{\frac{3}{2}} - 3 \, \sqrt{x e + d} d\right )} b^{2} e^{\left (-1\right )} + 70 \,{\left ({\left (x e + d\right )}^{\frac{3}{2}} - 3 \, \sqrt{x e + d} d\right )} a c e^{\left (-1\right )} + 21 \,{\left (3 \,{\left (x e + d\right )}^{\frac{5}{2}} e^{8} - 10 \,{\left (x e + d\right )}^{\frac{3}{2}} d e^{8} + 15 \, \sqrt{x e + d} d^{2} e^{8}\right )} b c e^{\left (-10\right )} + 6 \,{\left (5 \,{\left (x e + d\right )}^{\frac{7}{2}} e^{18} - 21 \,{\left (x e + d\right )}^{\frac{5}{2}} d e^{18} + 35 \,{\left (x e + d\right )}^{\frac{3}{2}} d^{2} e^{18} - 35 \, \sqrt{x e + d} d^{3} e^{18}\right )} c^{2} e^{\left (-21\right )} + 105 \, \sqrt{x e + d} a b\right )} e^{\left (-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*(2*c*x + b)/sqrt(e*x + d),x, algorithm="giac")
[Out]